<div class="content">
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-12">
				<div class="card">
					<form id="allInputsFormValidation" class="form-horizontal"  method="post" >
						<div class="content">
							<h4 class="title"> 修改 {{ staff.username }} 的离职信息</h4>
							
							
							
							<fieldset>
								<div class="form-group">
									<label class="col-sm-2 control-label">
										员工号
									</label>
									<div class="col-sm-6">
										{{ staff.userID }}
									</div>
								</div>
							</fieldset>
							
							<fieldset>
								<div class="form-group">
									<label class="col-sm-2 control-label">
										姓名
									</label>
									<div class="col-sm-6">
										{{ staff.username }}
									</div>
								</div>
							</fieldset>
							
							
							<fieldset>
								<div class="form-group">
									<label class="col-sm-2 control-label">离职类型</label>
									<div class="col-sm-10" style="margin-top: 10px">
                                            {% if staff_dimission.dimission_type == '主动辞职' %}
											<input type="radio" name="dimission_type" value="主动辞职" checked>主动辞职
											{% else %}
											<input type="radio" name="dimission_type" value="主动辞职" >主动辞职
											{% endif %}
											{% if staff_dimission.dimission_type == '辞退' %}
											<input type="radio" name="dimission_type" value="辞退" checked>辞退
											{% else %}
											<input type="radio" name="dimission_type" value="辞退" >辞退
											{% endif %}
											{% if staff_dimission.dimission_type == '退休' %}
											<input type="radio" name="dimission_type" value="退休" checked>退休
											{% else %}
											<input type="radio" name="dimission_type" value="退休" >退休
											{% endif %}
											{% if staff_dimission.dimission_type == '开除' %}
											<input type="radio" name="dimission_type" value="开除" checked>开除
											{% else %}
											<input type="radio" name="dimission_type" value="开除">开除
											{% endif %}
											{% if staff_dimission.dimission_type == '试用期未通过' %}
											<input type="radio" name="dimission_type" value="试用期未通过" checked>试用期未通过
											{% else %}
											<input type="radio" name="dimission_type" value="试用期未通过">试用期未通过
											{% endif %}

									</div>
								</div>
							</fieldset>
							
							<fieldset>
								<div class="form-group">
									<label class="col-sm-2 control-label">
										离职去向
									</label>
									<div class="col-sm-6">
										<input class="form-control" value="{{ staff_dimission.leave_to }}" type="text" name="leave_to" aria-required="true" autocomplete="off">
									</div>
								</div>
							</fieldset>
							
							<fieldset>
								<div class="form-group">
                                    <label class="col-sm-2 control-label">备注</label>
                                    <div class="col-sm-6">

                                        <textarea cols="50" rows="8" name="remark" class="form-control datepicker" autocomplete="off" >{{ staff_dimission.remark }}</textarea>
                                    </div>
                                </div>
							</fieldset>
							
						</div>
						<div class="card-footer text-center">
							<input type="submit" name="submit" class="btn btn-info btn-fill" value="提交">
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>